<div class="center_title">
    <?php echo $newsItem->getName();?>
    <div class="news_date"><?php echo $newsItem->getCreatedAt('Y-m-d'); ?></div>
</div>

<div class="center_text">
    <div class="news_item">
        <div class="news_text">
            <?php echo $newsItem->getContent(); ?>
            <br/>
                <?php if($files):?>
                <hr />
                    <?php foreach( $files as $file ): ?>
                    <div class="center_pictures">
                        <table width="130" height="130" cellspacing="0" cellpadding="0"><tr><td align="center" valign="middle">
                        <?php echo link_to(
                                image_tag(
                                    '/images/gallery/tiny/' . $file->getUname()
                                    , array(
                                        'border' => '0'
                                        , 'alt' => $file->getUname()
                                        , 'title' => $file->getUname()
                                    )
                                )
                                , 'http://www.vintageboutique.lt/images/gallery/medium/' . $file->getUname()
                                , array(
                                    'class' => 'lightbox'
                                )
                            )?>
                        </td></tr></table>
                    </div>
                    <?php endforeach; ?>
                <div style="clear: both;"></div>
                <?php endif; ?>
            <hr />
                <?php echo seo_link_to(__('back')
                                    , 'news'
                                    , 'showall'
                                    , '0'); ?>
        </div>
    </div>
</div>
<script type="text/javascript">
$(function() {
    
    $('a.lightbox').lightBox();
    
});
</script>